package com.ruoyi.system.domain.city;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 模块对象 city_module
 *
 * @author cjq
 * @date 2023-07-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CityModule implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 模块id
     */
    @TableId(type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long moduleId;

    /**
     * 类别 0 行业  1 模式
     */
    @Excel(name = "类别 0 行业  1 模式")
    private Integer moduleType;

    /**
     * 模块名称
     */
    @Excel(name = "模块名称")
    private String moduleName;

    /**
     * 模块名称
     */
    @Excel(name = "模块路由")
    private String moduleRoute;

    /**
     * 模块图片
     */
    @Excel(name = "模块图片", width = 20,height = 100,cellType = Excel.ColumnType.IMAGE)
    private String moduleUrl;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
